RelatedEntity Tabular View
COCD_TP145007UK04 | |||||||||||||||||||
RelatedEntity |
Template for a person with a relationship with the patient. This class is used to specify the type of relationship. For example mother or carer. |
||||||||||||||||||
Used by: | |||||||||||||||||||
[1..1] [M] classCode (CS { CNE: RoleClass } ) { Fixed="ASSIGNED" } |
Model Attribute Description The HL7 attribute classCode describes this class as an assigned role. An assigned role is a type of agent in which, the player is a person employed by a scoping organisation. Implementation in XML Instance |
||||||||||||||||||
[0..1] addr (AD) |
Model Attribute Description The HL7 attribute addr uses an address for the person who has a relationship with the patient. The HL7 attribute addr allows structured and unstructured addresses to be carried. Only structured addresses are recommended to be used. Implementation in XML Instance There are a number of forms of structured address. The three shown here are the recommended formats for patient addresses, they are listed in no particular order. The XML element addr is populated as follows: When using the structured address in the style of PDS the XML element addr shall contain five XML elements streetAddressLine.
The first XML element streetAddressLine or the second XML element streetAddressLine and the fourth XML element streetAddressLine are mandatory to be populated.
When using the fully structured address format then the XML element addr shall be populated as follows:
Alternatively the structured address may contain just a series of XML elements streetAddressLine populated in the correct order to render as a postal address with as much information as available included.
The XML element addr also allows an XML attribute use and this should be used to further define the patient address type when required. Only the use values listed below are recommended to be used for patient addresses.
When the XML attribute use of the XML element addr contains the value "PHYS" then the following two XML elements of the XML element addr may be populated.
The XML element useablePeriod of XML element addr can be used to indicate some of the following types of valid times for an address:
|
||||||||||||||||||
[1..1] [M] code (CV { CNE:CDAPersonRelationshipType } ) |
Model Attribute Description Implementation in XML Instance The Coded Plain flavour of the Coded Value (CV) data type shall be used to carry this information in the XML element code as follows:
|
||||||||||||||||||
[1..1] [R] id (SET<II>) |
Model Attribute Description The HL7 attribute id is only present for CDA conformance and is not used in this template Implementation in XML Instance The XML attribute nullFlavor of the XML element id shall contain " NA". |
||||||||||||||||||
[0..1] telecom (TEL) |
Model Attribute Description The HL7 Attribute telecom specifies contact details for the person in the form of telephone numbers, fax numbers and email addresses. Implementation in XML Instance The XML value attribute of the XML element telecom should contain the telephone / fax number or an email address prefixed by the type of contact and a colon.
The XML attribute use of the XML element telecom may be used to give further information about the type of contact details contained in the XML attribute value. Only the use values listed below are recommended to be used for the patient contact details:
The XML element useablePeriod of the XML element telecom may be used to indicate when the contact details given are valid, for example to indicate that a telephone number is only for office hours (9am to 5 pm). It can be used to indicate some of the following types of valid times:
|
||||||||||||||||||
[1..1] [M] templateId (II) { Fixed="COCD_TP145007UK04#RelatedEntity" } |
Model Attribute Description
The HL7 attribute templateId provides a unique identifier for the template and the class name within that template. This is used to identify how the CDA standard has been constrained for NHS use. Implementation in XML Instance The Identifier External data type flavour is used to carry this information in the XML element templateId as follows:
|
||||||||||||||||||
[0..1] assignedPerson (Person) |
A link to the assigned person.
|
||||||||||||||||||
Person |
A class which details the person who has a relationship with the patient. |
||||||||||||||||||
Used by: RelatedEntity | |||||||||||||||||||
[1..1] [M] classCode (CS { CNE: EntityClass } ) { Fixed="PSN" } |
Model Attribute Description The HL7 attribute classCode describes this class as a person. Implementation in XML Instance |
||||||||||||||||||
[1..1] [M] determinerCode (CS { CNE: EntityDeterminer } ) { Fixed="INSTANCE" } |
Model Attribute Description The HL7 attribute determinerCode describes this class as an instance of a person. Implementation in XML Instance |
||||||||||||||||||
[1..1] [M] name (PN) |
Model Attribute Description The HL7 attribute name provides a name associated with the person who has the relationship with the patient. Implementation in XML Instance The Person Name Structured with optional Use and optional Valid Time flavour of the PN data type is the recommended format for the person's name. This information is carried in the XML element name as follows:
Additionally the XML attribute use of the XML element name should be used to indicate the type of name; the recommended codes to be used are listed below: Note some of the codes listed are NHS extensions, these are marked with an *
Additionally the XML element validTime of the XML element name may be used to indicate the time when the name is valid/was valid for the author, some uses are shown below:
|
||||||||||||||||||
[1..1] [M] templateId (II) { Fixed="COCD_TP145007UK04#assignedPerson" } |
Model Attribute Description
The HL7 attribute templateId provides a unique identifier for the template and the class name within that template. This is used to identify how the CDA standard has been constrained for NHS use. Implementation in XML Instance The Identifier External data type flavour is used to carry this information in the XML element templateId as follows:
|